package 面向对象初级.封装.封装的实现;

public class Account {
    //私有的属性
    private double balance;

    public Account() {
    }

    public Account(double balance) {
        this.balance = balance;
    }

    public double getBalance() {
        return balance;
    }

    public void deposit(double amt){

    }
    public void withdraw(double amt){

    }
}
